<!--人才库添加-->
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!-- 导入头部top文件 start -->
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <title>招聘系统</title>

    <meta name="keywords" content="招聘系统">
    <meta name="description" content="招聘系统">

    <!--[if lt IE 8]>
    <meta http-equiv="refresh" content="0;ie.html"/>
    <![endif]-->

    <link href="${path}/static/css/bootstrap.min.css?v=3.3.5" rel="stylesheet">
    <link href="${path}/static/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="${path}/static/css/ui-dialog.css?v=4.0.0" rel="stylesheet">
    <link href="${path}/static/css/animate.min.css" rel="stylesheet">
    <link href="${path}/static/css/main.css?v=1.0.0" rel="stylesheet">
    <link href="${path}/static/css/reset.css?v=1.0.0" rel="stylesheet">
    <script>
        var G_Path = {
            path: "${path}"
        };
        var staticServer = "${baseConfig.staticServer}";
    </script>
</head>
<body>
<div class="zp_pageCenter">
    <div class="zp_personnel">
        候选人信息
    </div>
    <div class="zp_personnel_content">
        <div class="zp_personnel_info">
            <h3>${model.name}</h3>
            <h4>${model.intro}</h4>

            <p> ${model.workExperience}/ ${model.educationName} /${model.cityName}</p>

            <p>手机：${model.mobile}&nbsp;&nbsp;&nbsp;&nbsp;邮箱：${model.email}</p>

            <input type="hidden" id="tagName" name="tagName">

            <div id="tags">
            </div>
            <h5 class="zp_addMark" name="addTag" id="addTag">+添加标签</h5>

            <div id="details"></div>
            <div class="zp_divider">
                <span class="zp_line"></span>
                <span class="zp_dividerName tc">期望工作</span>
                <span class="zp_line"></span>
            </div>
            <div class="zp_personnel_model">
                <div class="row zp_personnel_hope tc">
                    <div class="col-sm-3">
                        java开发工程师
                    </div>
                    <div class="col-sm-3">
                        全职
                    </div>
                    <div class="col-sm-3">
                        上海
                    </div>
                    <div class="col-sm-3">
                        5k-10k
                    </div>
                </div>
            </div>
            <div class="zp_test"></div>
        </div>
    </div>

    <script src="/static/js/jquery.min.js?v=2.1.4"></script>
    <script src="/static/js/bootstrap.min.js?v=3.3.5"></script>
    <script src="/static/js/admin/resumeDetails.js"></script>
    <script src="/static/js/admin/addTags.js"></script>
    <script src="/static/js/plugins/dialog/dialog-min.js"></script>
    <script src="/static/js/plugins/dialog/dialog-plus-min.js"></script>
    <script src="/static/js/cateDialog.js"></script>
    <script type="text/javascript">
        var id = "${model.id}";
        var status = "${status}";
        var tags;
        (function () {
            var el = $("#details").details({
                eUrl: "/resume/education/experience/json?resumeId=" + id,
                wUrl: "/resume/work/experience/json?resumeId=" + id,
                pUrl: "/resume/person/description/json?resumeId=" + id,
            });
            tags = $("#tags").tags({
                url: "/resume/tags/json?resumeId=" + id,
                deleteUrl: "/resume/tags/delete",
            })
        })(jQuery);
        $("#addTag").click(function () {
            $("#addTag").cate({
                title: "添加标签",
                url: G_Path.path + "/sys/tag/category",
                param: {"dictCode": "RESUMETAG"},
                liveSearch: false,
                "id": "tagName",
                callback: function () {
                    var tagName = $("#tagName").val();
                    $.get(G_Path.path + "/resume/tags/save?resumeId=" + id + "&tagId=" + tagName, function (text) {
                        tags.show();
                    });
                }
            });
        })
    </script>
</div>
</body>
</html>
